package com.summer.dto;

import com.summer.pojo.CourseCategory;
import lombok.Data;
import lombok.ToString;

import java.util.List;

@Data
public class CourseCategoryDto extends CourseCategory implements java.io.Serializable {
    private List<CourseCategoryDto> childrenTreeNodes;

    @Override
    public String toString() {
        return "CourseCategoryDto{" +
                "CourseCategory=" + super.toString() + ", " +
                "childrenTreeNodes=" + childrenTreeNodes +
                '}';
    }
}
